const { DataTypes } = require('../utils/sequelize');

const ClassTime = {
  name: "ClassTime",
  data: {
    id: {
      type: DataTypes.STRING,
      allowNull: false,       //是否能为空
      primaryKey: true,       //主键
    },
    week: {
      type: DataTypes.STRING,
      allowNull: false,
    },
    classTime: {
        type: DataTypes.STRING,
        allowNull: false,
      }
  },
  options: {
      tableName: 'class_time_tb'
  }
}
module.exports = ClassTime